package com.phiture.erp.finance.core.pojo.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 对账单分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ErpFinanceStatementPageReqVO extends PageParam {

    @Schema(description = "对账单号")
    private String no;

    @Schema(description = "供应商")
    private Long supplierId;

    @Schema(description = "客户")
    private Long customerId;

    @Schema(description = "类型", example = "2")
    private Integer type;

    @Schema(description = "对账周期")
    private String billingPeriod;

    @Schema(description = "生成日期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDate[] statementDate;

    @Schema(description = "状态", example = "2")
    private Integer status;

}